package fr.kirin.logger.model.gui;

import java.awt.BorderLayout;
import java.awt.Window;

import javax.swing.JButton;
import javax.swing.JDialog;
import javax.swing.JFrame;


/**
 * 
 * 
 * @author Goullon
 *
 */
public class ConfigurationManager {

	private JDialog box;
	
	public ConfigurationManager(JFrame parent){
		init(parent);
	}
	
	private void init(JFrame parent){
		 box = new JDialog(parent, true);
		 LevelManager lvlManager = new LevelManager(parent);
		 
		 box.add(lvlManager.getUIComponent(),BorderLayout.NORTH);
		 box.add(new JButton("plop"));
		 
		 box.pack();
	}
	
	public Window getUIComponent(){
		return box;
	}
}
